package qunar;

import javax.annotation.PostConstruct;

public abstract class AbstractCouponService implements CouponService {

    @PostConstruct
    public void init() {
        CouponServiceFactory.register(getCouponSource(), this);
    }

    protected abstract ProductSource getCouponSource();

}
